package com.ai.zuochengyun.phase01.class07;

import java.util.ArrayList;
import java.util.List;

public class Node {

    public int value;

    /**
     * 进入的
     */
    public int in;

    /**
     * 出去的
     */
    public int out;

    /**
     * 下一跳
     */
    public List<Node> nexts;

    /**
     * 直接边
     */
    public List<Edge> edges;

    public Node(int value) {
        this.value = value;
        this.in = 0;
        this.out = 0;
        this.nexts = new ArrayList<>();
        this.edges = new ArrayList<>();
    }
}
